package com.flython.aems.management.config;

import com.flython.aems.management.component.AbstractParamsSupplier;
import com.flython.aems.management.component.CsonParamSupplier;
import com.flython.aems.management.component.ProfileParamSupplier;
import com.flython.aems.management.component.UniqueParamSupplier;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

@Configuration
public class Config {

    @Bean
    public AbstractParamsSupplier profileParamSupplier(){
        return new ProfileParamSupplier(0);
    }
    @Bean
    public AbstractParamsSupplier uniqueParamSupplier(){
        return new UniqueParamSupplier(5);
    }
    @Bean
    public AbstractParamsSupplier csonParamSupplier(){
        return new CsonParamSupplier(10);
    }

}
